package org.blogsite.greencode.dao;

import java.util.Iterator;
import java.util.List;

import org.blogsite.greencode.bean.TeachingSupport_Course;

public interface TeachingSupport_CourseDao {
	//教学课程-保存
	public void save(TeachingSupport_Course course);
	//教学课程-查询
	public Iterator search(String keyWord);
	//教学课程-修改
	public void modify(TeachingSupport_Course course);
	//教学课程-删除
	public void delete(int cno);
	public List allSearch();
	public List byIdSearch(int id);
	/*查询指定姓名的讲师*/
	public List byNameSearch(String name);
	//模糊查询
	public List byBlearSearch(String text);
	/*查询指定名称的课程是否存在*/
	public boolean searchCourseByName(String name);
}
